package com.xagcdx.group1.service.impl;

import com.xagcdx.group1.bean.Staff;
import com.xagcdx.group1.dao.StaffMapper;
import com.xagcdx.group1.service.StaffService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 *  鏈嶅姟瀹炵幇绫�
 * </p>
 *
 * @author grou1
 * @since 2020-06-09
 */
@Service
@Transactional
public class StaffServiceImpl extends ServiceImpl<StaffMapper, Staff> implements StaffService {
@Autowired
private StaffMapper staffMapper;

@Override
public Integer counts(String scode,String staffstatu,String summitstatu,String edittime) {
	// TODO Auto-generated method stub
	return staffMapper.counts( scode,staffstatu,summitstatu,edittime);
}

@Override
public List<Staff> staffListPage(Integer i, Integer limit,String scode,String staffstatu,String summitstatu,String edittime) {
	// TODO Auto-generated method stub
	return staffMapper.staffListPage(i, limit, scode, staffstatu, summitstatu, edittime);
}

@Override
public Integer maxJobCount(String ddesc) {
	// TODO Auto-generated method stub
	return staffMapper.maxJobCount(ddesc);
}
}
